﻿using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace BruteForce.Animation
{
    public class LinearTransition : Transition
    {
        public LinearTransition(double duration)
            : base(duration)
        {
        }

        
        public override void Interpolate(GameTime time)
        {
            double t = Time/Duration;
            Value = t;
        }
    }
}